#include "common_opr_string_test.h"

TEST_F(StringReplaceTest, TestBasicReplace) {
    // 测试基本替换
    std::string source = "Hello world";
    std::string oldValue = "world";
    std::string newValue = "universe";
    std::string expected = "Hello universe";
    
    std::string result = CommonOprString::stringReplace(source, oldValue, newValue);
    EXPECT_EQ(expected, result);
}